package cn.hd.shop_springboot.mapper;

import cn.hd.shop_springboot.pojo.User;
import cn.hd.shop_springboot.pojo.UserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

import javax.jws.soap.SOAPBinding;

public interface UserMapper {
    long countByExample(UserExample example);

    int deleteByExample(UserExample example);

    int insert(User record);

    int insertSelective(User record);

    List<User> selectByExample(UserExample example);

    int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example);

    int updateByExample(@Param("record") User record, @Param("example") UserExample example);

    User get(int id);
    List<User> list();

    List<User> selectlist(@Param("user")User user,@Param("form") int pageNo,@Param("pagesize") int pageSize);


}